<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog A07_MachineList_suggest-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="dialog._title | translate"></div>
        <!--More Menu-->

        <!--Close button-->
        <div class="kmi-side-btn right" ng-click="dialog.hide();">
            <img src="image/icons/clear.png" />
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content" style="flex: 1">
        <!--Page-->
        <div class="kmi-layout-page">
            <div class="mdd-layout__with-toolbar mdd-layout c-mdd-layout" layout-name="A07_MachineList_suggest" page-name="" page-type="Dialog" with-toolbar="Y" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(2, auto 1fr)">
                <label class="label" ng-show="dialog._event['note1'].isShown != 'N'" style="" ng-bind="'A07_MachineList_suggest.columns.note1' | translate"></label><label class="value" style="">{{dialog.note1}}</label>
                <div class="mdd-list c-mdd-list" null="" ng-show="dialog._event['suggest_detail'].isShown != 'N'" style="height:{{dialog._event['A07_MachineList_suggest'].GetfillHeight()}};grid-column-start:span 4;" list-name="A07_MachineList_suggest_suggest_detail" list-bind="dialog.suggest_detail" list-alias="dialog.suggest_detail" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
                    <div class="kmi-list column-selector" kmi-scrollbar="748px" column-selector-id="A07_MachineList_suggest_suggest_detail" style="flex: 1">
                        <div class="kmi-list__header">
                            <div item-name="light_color" class="kmi-list__column width-fixed" style="flex: 0 0 28px"></div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.lot_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[1].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['lot_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[1].isFilter = false;dialog._objsuggest_detail.filterColumns['lot_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[1].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[1].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.lot_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 1">{{!dialog._objsuggest_detail.header[1].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'lot_no', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.op_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[2].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['op_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[2].isFilter = false;dialog._objsuggest_detail.filterColumns['op_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[2].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[2].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.op_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 2">{{!dialog._objsuggest_detail.header[2].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(2, 'op_no', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.equipment_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[3].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['equipment_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[3].isFilter = false;dialog._objsuggest_detail.filterColumns['equipment_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[3].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[3].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.equipment_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 3">{{!dialog._objsuggest_detail.header[3].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(3, 'equipment_no', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.workdate'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[4].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['workdate']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[4].isFilter = false;dialog._objsuggest_detail.filterColumns['workdate'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[4].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[4].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.workdate' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 4">{{!dialog._objsuggest_detail.header[4].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(4, 'workdate', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.org_qty'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[5].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['org_qty']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[5].isFilter = false;dialog._objsuggest_detail.filterColumns['org_qty'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[5].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[5].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.org_qty' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 5">{{!dialog._objsuggest_detail.header[5].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(5, 'org_qty', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.suggest_detail.sug_qty'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objsuggest_detail.header[6].isFilter">
                                    <input ng-model="dialog._objsuggest_detail.filterColumns['sug_qty']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objsuggest_detail.header[6].isFilter = false;dialog._objsuggest_detail.filterColumns['sug_qty'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objsuggest_detail.header[6].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objsuggest_detail.header[6].isFilter = true">search</i>
                                    <label ng-bind="'A07_MachineList_suggest_suggest_detail.columns.sug_qty' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objsuggest_detail.queryOrder == 6">{{!dialog._objsuggest_detail.header[6].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(6, 'sug_qty', 'dialog._objsuggest_detail');"></div>
                                </div>
                            </div>
                        </div>
                        <div class="kmi-list__row-content">
                            <div class="kmi-list__row" id="A07_MachineList_suggest_suggest_detail_result_list" ng-repeat="item in dialog._event['dialog.suggest_detail'].getPages(dialog.suggest_detail, dialog._objsuggest_detail.PageConfig, dialog._objsuggest_detail.filterColumns, dialog._objsuggest_detail.header[dialog._objsuggest_detail.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.suggest_detail'].checkSelect(item, {index:$index, event:$event})}">
                                <div item-name="light_color" class="kmi-list__column" style="flex: 0 0 28px">
                                    <div class="dashboard-light-panel" ng-class="[dialog.mlightColor(item.light_color)]"></div>
                                </div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.lot_no'].isShown != 'N'">{{item.lot_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.op_no'].isShown != 'N'">{{item.op_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.equipment_no'].isShown != 'N'">{{item.equipment_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.workdate'].isShown != 'N'">{{item.workdate}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.org_qty'].isShown != 'N'">{{item.org_qty}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.suggest_detail.sug_qty'].isShown != 'N'">
                                    <div class="kmi-text-fields">
                                        <input type="text" readonly="" ng-model="item.sug_qty" ng-click="dialog._event['dialog.suggest_detail.sug_qty'].click(item.sug_qty, {eventScope:item, event:$event, index:$index});" />
                                    </div>
                                </div>
                                <div class="kmi-can-click" ng-click="dialog._event['dialog.suggest_detail'].rowClick(item, {index:$index, event:$event});"></div>
                            </div>
                        </div>
                    </div>
                    <div class="page-content">
                        <div class="page-icon">
                            <img src="image/icons/dropleft.png" />
                            <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objsuggest_detail.PageConfig);"></div>
                        </div>
                        <label ng-bind="dialog.pageInfo(dialog._objsuggest_detail.PageConfig);"></label>
                        <div class="page-icon">
                            <img src="image/icons/dropright.png" />
                            <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objsuggest_detail.PageConfig);"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mdd-button-tool">
                <div class="tool-bar"></div>
                <div class="tool-bar" style="justify-content: flex-end">
                    <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['suggest_confirm'].isDisabled == 'Y'" ng-hide="dialog._fn['suggest_confirm'].isShown == 'N'" style="width: 100px">
                        <label ng-bind="'common.btn.confirm' | translate"></label>
                        <div class="kmi-can-click" ng-click="dialog._fn['suggest_confirm'].click('suggest_confirm');"></div>
                    </div>
                    <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['normal_confirm'].isDisabled == 'Y'" ng-hide="dialog._fn['normal_confirm'].isShown == 'N'" style="width: 100px">
                        <label ng-bind="'A07_MachineList_suggest.funcs.normal_confirm' | translate"></label>
                        <div class="kmi-can-click" ng-click="dialog._fn['normal_confirm'].click('normal_confirm');"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
